/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-06 15:16:54
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-06 15:49:50
 */
public class Animal{
    String name;
    int age;
    String color;
    String kind;

    public void eat(String food){
        System.out.println("我吃"+food);
    }
    public void say(){
        System.out.println("我是"+kind+"我的名字是"+name+",我的年龄是"+age+",我的"+color);
    }
    public void sayHello(){
        System.out.println("我是"+kind+"我的名字是"+name+",我的年龄是"+age+",我的颜色是"+color);
    }
    
}
